package jj.jjstudy.controller;

import jj.jjstudy.response.JsonData;
import jj.jjstudy.response.ResponseData;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController {



    @RequestMapping(value = "hello",method = RequestMethod.GET)
    public ResponseData test(){

        return JsonData.success("hello");
    }


}
